#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include<QPainter>
#include <QPainterPath>
#include <QtGlobal>
namespace Ui {
class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    explicit MainWindow(QWidget *parent = 0);
    ~MainWindow();

private:
    Ui::MainWindow *ui;
    QPinterPath path;
    double percent=0.0;
    double step=0.02;
    int timeID;
protected:
    void paintEvent(QPaintEvent *e);
    void timerEvent(QTimerEvent *e);
};

#endif // MAINWINDOW_H
